# 不可以修改或者替换
tuptle = (123,"abc")
# tuptle[1] False
tuptle2 = tuptle(range(1,10)) #随机从1-9数字变化，加上tuple关键词才能成为元组
print(tuptle2)
#遍历。指的是读取元组的内容
tuple3 = ("大米","小米","玉米","红枣")
for i in tuple3:
    print(i)
for k in enumerate(tuple3):
    print(k)
    